<!DOCTYPE html>
<html>

<head>
    <include file="Share:meta" />
    <style type="text/css">
    .trstyle0 {
        background-color: #e8e8e8;
    }
    </style>
</head>

<body oncontextmenu="self.event.returnValue=false" ondragstart="return false" class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        <include file="Share:header" />
        <include file="Share:left" />
        <!-- Content Wrapper. Contains page content -->
        <div class="content-wrapper">
            <!-- Content Header (Page header) -->
            <section class="content-header">
                <h1>跟单经理统计<small><a target="_blank"></a></small></h1>
                <ol class="breadcrumb">
                    <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                    <li class="active">跟单经理统计</li>
                </ol>
            </section>
            <!-- Main content -->
            <section class="content">
                <div class="box">
                    <div class="box-header with-border">
                        <h3 class="box-title">提示：请选择跟单经理之后查询</h3>
                        <div class="box-tools" style="width: 70%;">
                            <div class="row">
                                <include file="Share:searchBar01" />
                            </div>
                        </div>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table class="table table-bordered HjTable" border="1">
                            <tbody>
                                <tr style="background-color: #E6E6FA;">
                                    <th style="width: 10%;">年月</th>
                                    <th style="width: 30%;">门店名称</th>
                                    <th style="width: 30%;">跟单经理</th>
                                    <th style="width: 10%;">订单数</th>
                                    <!-- <th style="width: 20%;">订单汇总金额</th> -->
                                    <th style="width: 20%;">订单销售总额</th>
                                </tr>
                                <volist name="list" id="vo">
                                    <tr>
                                        <td>{$vo.yearmonth}</td>
                                        <td>{$vo.shopname}</td>
                                        <td>{$nameInfo.realname}</td>
                                        <td>{$vo.number}</td>
                                        <!-- <td>{$vo.price}</td> -->
                                        <td>{$vo.discount_price}</td>
                                    </tr>
                                </volist>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.box-body -->
                    <div class="box-footer clearfix">
                        <ul class="pagination pagination-sm no-margin pull-right">
                            {$show}
                        </ul>
                    </div>

                    <notempty name="orderlist">
                        <div class="box-body">
                            <table class="table table-bordered HjTable" border="1">
                                <tbody>
                                    <tr style="background-color: #E6E6FA;">
                                        <th style="width: 20%;">跟单经理列表</th>
                                        <th style="width: 20%;">订单汇总金额</th>
                                        <th style="width: 20%;">订单折扣金额</th>
                                        <th style="width: 20%;">操作</th>
                                    </tr>
                                    <volist name="orderlist" id="vo">
                                        <tr>
                                            <td>单号：{$vo.tid}</td>
                                            <td>{$vo.price}</td>
                                            <td>{$vo.discount_price}</td>
                                            <td><a class="btn btn-xs btn-default" target="_blank" href="/Order/detail/tid/{$vo.tid}/opt/edit" role="button">查看详细</a></td>
                                        </tr>
                                    </volist>
                                </tbody>
                            </table>
                        </div>
                    </notempty>
                </div>
            </section>
            <!-- /.content -->
        </div>
        <!-- /.content-wrapper -->
        <include file="Share:copyright" />
        <include file="Share:setting" />
    </div>
    <include file="Share:js" />
    <script type="text/javascript">
        $("#reportManage").addClass("active");
        $("#custManager_list").addClass("active");
    </script>
</body>

</html>
